package com.example.zce.back.task.job;

import com.example.zce.back.task.BaseJob;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

/**
 * 描述：
 *
 * @author zengyz
 * @date 2018/8/5 13:43
 */
public class Test_1_Job implements BaseJob {

    private static Logger log=LoggerFactory.getLogger(Test_1_Job.class);

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        log.error("测试定时任务（Test_1_Job）Job执行时间: " + new Date());
    }
}
